<extend name="Public/base" />

<block name="body">    
     <div class="data-table table-striped">     
        <table class="">
            <thead>
                <tr>               
                    <th class="" width="100">快递公司名称</th>
                    <th class="" width="100">快递公司单号</th>                   
                    <th class="">操作</th>                   
                </tr>
            </thead>
            <tbody>
            <form action="{:U(outputaction)}" method="post" class="form-horizontal">
                 <input type="hidden" name="oid" value="{$oid}"/>          
                <tr>
                    <td><input type="text" name="expname" class="text input-4x" value="{$eid|get_expline_expname}" style=" background-color:#FFF6D9; border: 2px solid green"/></td>
                    <td><input type="text" name="expnumber" class="text input-4x" style=" background-color:#FFF6D9; border: 2px solid green"/></td>     
                    <td> <button class="btn submit-btn ajax-post  confirm" id="submit" type="submit" target-form="form-horizontal">确认发货完毕</button> <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button></td>
                </tr>
            </tbody>
            </form>
        </table>
    </div>
  <style>
    
        .img2wei{margin: 2px;}
        .table2{border: 1px solid #000;}
        .table2 tr th{
            background-color: #F5F5F5;
            font-size: 9px;
            font-weight: normal;
            border: 1px solid #000;
            padding-left: 5px;
        }
        .table2 tr td{
            border: 1px solid #000;
            padding-left: 5px;
            font-weight: bold;
        }   
        .toolbarpr{
            padding:20px;
            border-bottom: 2px solid #006dcc;
            background-color: #091620;
            color: #fff;
        }

    </style>
    
 
    
   <volist name='data' id='vodata'>
        <div class="printpage" style='min-height: 27.5cm; max-height: 27.5cm; margin: 0px;'>
            <div class="row" style=" background: #000;color: #fff; height: 30px;line-height: 30px;text-align: center;">
                <div class="col-xs-5"> Order NO.：{$vodata.orderdata.oid}  </div>          
            </div>

            <div >
                <table width="100%" border="0" class="table2 ">
                    <tr>
                        <th rowspan="5"  bgcolor="#F5F5F5" scope="row" width="20%" style=" text-align:center;"><img src="__STATIC__/phpqrcode/QRcode.php?id={$vodata.orderdata.oid}&type=order&size=4" ></th>
                        <th colspan="4">SHIPPER</th>
                    </tr>
                    <tr>
                        <th width="20%">NAME OF SENDER</th>
                        <td width="21%">{$vodata.warehousedata.person}</td>
                        <th width="20%">TELEPHONE NO.<br/><small>(VERY IMPORTANT)</small></th>
                        <td width="27%">{$vodata.warehousedata.phone}</td>
                    </tr>
                    <tr>
                        <th colspan="4">COMPANY NAME AND ADDRESS(Inculde Postal Code)</th>
                    </tr>
                    <tr>
                        <td colspan="4">                                  
                            {$vodata.warehousedata.location}<br/>
                            {$vodata.warehousedata.city}, {$vodata.warehousedata.province},{$vodata.warehousedata.country},{$vodata.warehousedata.zipcode}<br/>
                        </td>
                    </tr>
                    <tr>
                        <th>POSTAL CODE</th>
                        <td>{$vodata.warehousedata.zipcode}</td>
                        <th>COUNTRY</th>
                        <td>{$vodata.warehousedata.country}</td>
                    </tr>
                </table> 
                <table width="100%" border="0" class="table2">
                    <tr>
                        <th width="5%" rowspan="4" scope="row">RECEIVER</th>
                        <th width="20%">NAME OF CONTACT PERSON</th>
                        <td width="21%">{$vodata.orderdata.name}</td>
                        <th width="27%">TELEPHONE NO.<br/><small>(VERY IMPORTANT)</samll></th>
                        <td width="27%">{$vodata.orderdata.phone}</td>
                    </tr>
                    <tr>
                        <th colspan="4">COMPANY NAME AND ADDRESS(Inculde Postal/Zip Code)</th>
                    </tr>
                    <tr>
                        <td colspan="4">
                    <notempty name="orderdata.street">{$vodata.orderdata.street}<br/></notempty>
                    {$vodata.orderdata.address} ,
                    {$vodata.orderdata.city}, {$vodata.orderdata.province}, {$vodata.orderdata.country},{$vodata.orderdata.zipcode}<br/>
                    </td>
                    </tr>
                    <tr>
                        <th>POSTAL CODE</th>
                        <td>{$vodata.orderdata.zipcode}</td>
                        <th>COUNTRY</th>
                        <td>{$vodata.orderdata.country}</td>
                    </tr>
                </table>
            </div>
            <br/>
            <hr/>
            <div class="row">
                <div class="col-xs-6">出库单/{$vodata.orderdata.eid|get_expline_name} /{$vodata.orderdata.wid|get_warehouse_name}</div>
            
            </div>
            <br/>
            <div class="row">
                <div class="col-xs-6">
                    <table width="100%" border="0" class="table2 table-condensed ">
                        <tr >
                            <th scope="col"  width="20%">需要出库的</th>
                            <th scope="col">包裹编码/位置/包裹描述</th>
                        </tr>
                        
                        <volist name="vodata.packagelist" id="vo"> 
                            <tr>   
                                <td   style=" text-align:center;"> <img   src="__STATIC__/phpqrcode/QRcode.php?id={$vo.id}&type=package&size=3"> </td>
                                <td> 

                                    {$vo.id}/{$vo.location}/{$vo.name}/{$vo.remark} <BR/>
                                    <span style="color: red;border-bottom: 1px solid #000"><gt name="vo.bulkfactor" value="$vo.weight">{$vo.bulkfactor}<else/>{$vo.weight}</gt>g</span>

                                </td>  
                            </tr>
                        </volist>

                    </table>

                </div>
           
            </div>
        </div>

    </volist>
 
   
</block>


<block name="script">
    <script src="__STATIC__/thinkbox/jquery.thinkbox.js"></script>

    <script type="text/javascript">
     
//导航高亮
        highlight_subnav('{:U('Order/output')}');
    </script>
</block>